package com.ctshk.rpc.tour.req.schedule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "FindTripScheduleReq对象", description = "加幅对象")
public class FindTripScheduleReq implements Serializable {

    @NotNull(message = "团期id不能为空")
    @ApiModelProperty("团期id")
    private Long id;

    @NotNull(message = "1：自营 2：代理")
    @ApiModelProperty("类型")
    private Integer type;

    @ApiModelProperty("代理商id,type为2时填充")
    private Long agentId;


}
